Skip to content

Conversation

@hamzaremmal
Copy link
Member

No description provided.

.settings(publishSettings)
.settings(
name := "scala3-repl",
moduleName := "scala3-repl",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will sbt console still work after moving the repl into a spearate artifact?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So to make it explicit, sbt console on a Scala 3.8 project will only work with future sbt releases.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sbt 1.12.0-M1 is already released with the fix. Anyways, with the stdlib changes, sbt wasn't working for some of the projects. That's why we decided to include this change in 3.8.0 so that we will break tooling just once.

hamzaremmal added a commit that referenced this pull request Oct 27, 2025
With everything that is happening for `3.8.0`, I believe it is now time
to remove the old runner infrastructure and the `scala_legacy` script
too. `scala-cli` has been shipped with every release of Scala since
`3.5.0`.

In preparation for #24243
Gedochao added a commit that referenced this pull request Oct 27, 2025
…epl` for removal (#24267)

This is a companion PR to #24243 &
#24244
Note: this is meant for the Scala 3.7.4 branch, only.
hamzaremmal added a commit that referenced this pull request Oct 29, 2025
First step towards extracting the `repl` to be its own artifact.
We need to remove that because the repl will have a dependency on the
compiler and we cannot have the compiler depend on the repl too (cyclic
dependency)

Related to #24243
@hamzaremmal hamzaremmal force-pushed the repl-artifact branch 3 times, most recently from 4c768c9 to d8b4c50 Compare October 30, 2025 18:02
@hamzaremmal hamzaremmal marked this pull request as ready for review November 1, 2025 08:24
./bin/scalac -d "$OUT/out.jar" tests/pos/i12973.scala
echo "Bug12973().check" | TERM=dumb ./bin/scala -cp "$OUT/out.jar" > "$tmp" 2>&1
grep -qe "Bug12973 is fixed" "$tmp"
#echo "testing i12973"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this going to be commented out before merge? If there's a bug/regression let's create an issue an add comment here

Copy link
Member Author

@hamzaremmal hamzaremmal Nov 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs scala-cli to migrate to use this artifact for this test to be enabled. I don't want to waste CI time with the comment. We will remember. If you want to open an issue, you can do it.

cc @Gedochao

@hamzaremmal hamzaremmal merged commit 389483e into scala:main Nov 1, 2025
53 checks passed
@hamzaremmal hamzaremmal deleted the repl-artifact branch November 1, 2025 12:17
@hamzaremmal hamzaremmal added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Nov 1, 2025
@Gedochao Gedochao added this to the 3.8.0 milestone Nov 3, 2025
WojciechMazur pushed a commit that referenced this pull request Nov 4, 2025
See #24243
Also removes the duplicated manifest file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants